package com.hs.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
/**
 *  回复实体类
 * @author zgy
 * @date 2024/10/24 17:29
 * @param null
 * @return null
 */
public class Reply {

  private Long id;
  private String replyText;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date createTime;
  private Long questionId;
  private Long userId;
  private Question question;
  private User user;




}
